home *** CD-ROM | disk | FTP | other *** search
- <!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML//EN">
- <html>
-
- <head>
- <meta http-equiv="Content-Type"
- content="text/html; charset=iso-8859-1">
- <meta name="GENERATOR" content="Microsoft FrontPage 2.0">
- <title>Import and Export Specifications</title>
- </head>
-
- <body bgcolor="#A3CDDA">
- <div align="center"><center>
-
- <table border="1" cellpadding="8" cellspacing="0" width="100%"
- bgcolor="#5A8BAB">
- <tr>
- <td align="center" width="100%"><font color="#FFFF00"
- size="6" face="Arial"><em><strong>Urthman's Sockets
- Database</strong></em></font></td>
- </tr>
- </table>
- </center></div><div align="center"><center>
-
- <table border="0" cellpadding="4" cellspacing="4" width="100%">
- <tr>
- <td align="center"><font size="4" face="Arial"><strong>Import
- and Export Specifications</strong></font></td>
- </tr>
- </table>
- </center></div>
-
- <hr>
- <div align="center"><center>
-
- <table border="0" cellpadding="8" cellspacing="0" width="90%">
- <tr>
- <td align="right" valign="top" width="30%"><a
- href="#Import"><font face="Arial"><strong>Import
- Specifications</strong></font></a></td>
- <td width="70%"><font size="2" face="Arial">Describes the
- format necessary for importing data. Generally, files
- formatted similarly to your existing services file should
- be ready to import.</font></td>
- </tr>
- <tr>
- <td align="right" valign="top" width="30%"><a
- href="#Initial"><font face="Arial"><strong>Initialization
- Listings</strong></font></a></td>
- <td width="70%"><font size="2" face="Arial">Describes the
- files absorbed the first time the program is executed,
- and what to do about updated or corrective versions and
- new RFC releases.</font></td>
- </tr>
- <tr>
- <td align="right" valign="top" width="30%"><a
- href="#Export"><font face="Arial"><strong>Export
- Specifications</strong></font></a></td>
- <td width="70%"><font size="2" face="Arial">Describes
- what to expect when exporting the database contents.</font></td>
- </tr>
- <tr>
- <td align="right" valign="top" width="30%"><a
- href="#Oops"><font face="Arial"><strong>Recovering from
- ...</strong></font></a></td>
- <td width="70%"><font size="2" face="Arial">Describes how
- to recover the original data in the event that your data
- gets screwed up.</font></td>
- </tr>
- </table>
- </center></div>
-
- <hr>
-
- <p><a name="Import"><font face="Arial"><strong>Import
- Specifications:</strong></font></a><font face="Arial"> </font><font
- size="2" face="Arial">For the most part, the format for importing
- the /etc/services tables conforms to a typical /etc/services file
- and the listings in the RFC-1060 and 1700 documents with some
- minor exceptions. Please read through this material before
- proceeding since some minor (and harmless) editting might be
- required.</font></p>
-
- <p><font size="2" face="Arial">Importing a file allows users to
- exchange and share data with common references. If any given
- record exists, the references are simply updated. Importable
- files can also be used to mask or delete usage references. After
- such an exercise, a quick sweep through the database will delete
- all records whose usage flags are left blank by the
- import-to-delete process.</font></p>
-
- <hr>
- <div align="left">
-
- <table border="0" cellpadding="6" cellspacing="0" width="100%"
- bgcolor="#FFFFFF">
- <tr>
- <td align="right" bgcolor="#008080"><font color="#00FFFF"
- face="Arial"><strong>Importing</strong></font></td>
- <td bgcolor="#008080"><font color="#00FFFF" face="Arial"><strong>Data</strong></font></td>
- <td align="right" bgcolor="#008080"> </td>
- <td bgcolor="#008080"> </td>
- <td bgcolor="#008080"> </td>
- <td bgcolor="#008080"> </td>
- </tr>
- <tr>
- <td align="right" bgcolor="#C0C0C0"> </td>
- <td bgcolor="#C0C0C0"><font size="2" face="Courier New"><strong>keyword</strong></font></td>
- <td bgcolor="#C0C0C0"><font size="2" face="Courier New"><strong>port/protocol</strong></font></td>
- <td bgcolor="#C0C0C0"><font size="2" face="Courier New"><strong><aliases></strong></font></td>
- <td bgcolor="#C0C0C0"><font size="2" face="Courier New"><strong><#comment></strong></font></td>
- <td bgcolor="#C0C0C0"><font size="2" face="Courier New"><strong><[References]>
- </strong></font></td>
- </tr>
- <tr>
- <td align="right" bgcolor="#C0C0C0"><font size="2"
- face="Arial"><strong>Normal:</strong></font></td>
- <td><font size="2" face="Courier New">nntp</font></td>
- <td><font size="2" face="Courier New">119/tcp</font></td>
- <td><font size="2" face="Courier New">usenet</font></td>
- <td><font size="2" face="Courier New"># news-reader </font></td>
- <td><font size="2" face="Courier New">[65,PL4]</font></td>
- </tr>
- <tr>
- <td align="right" bgcolor="#C0C0C0"><font size="2"
- face="Arial"><strong>Import Alias:</strong></font></td>
- <td><font size="2" face="Courier New">untp</font></td>
- <td><font size="2" face="Courier New">119/tcp</font></td>
- <td> </td>
- <td><font size="2" face="Courier New"># follows nntp for
- alias</font></td>
- <td> </td>
- </tr>
- <tr>
- <td align="right" bgcolor="#C0C0C0"><font size="2"
- face="Arial"><strong>Import Range:</strong></font></td>
- <td><font size="2" face="Courier New">x11</font></td>
- <td><font size="2" face="Courier New">6000-6063/tcp</font></td>
- <td> </td>
- <td><font size="2" face="Courier New"># X Window System</font></td>
- <td> </td>
- </tr>
- <tr>
- <td align="right" bgcolor="#C0C0C0"><font size="2"
- face="Arial"><strong>Also -- UDP:</strong></font></td>
- <td><font size="2" face="Courier New">x11</font></td>
- <td><font size="2" face="Courier New">6000-6063/udp</font></td>
- <td> </td>
- <td><font size="2" face="Courier New"># X Window System</font></td>
- <td> </td>
- </tr>
- <tr>
- <td align="right" bgcolor="#C0C0C0"><font size="2"
- face="Arial"><strong>TCP and UDP:</strong></font></td>
- <td><font size="2" face="Courier New">x11</font></td>
- <td><font size="2" face="Courier New">6000-6063</font></td>
- <td> </td>
- <td><font size="2" face="Courier New"># X Window System</font></td>
- <td> </td>
- </tr>
- <tr>
- <td align="right" bgcolor="#C0C0C0"><font size="2"
- face="Arial"><strong>No Keyword:</strong></font></td>
- <td> </td>
- <td><font size="2" face="Courier New">24/tcp</font></td>
- <td> </td>
- <td><font size="2" face="Courier New"># any private mail
- system</font></td>
- <td> </td>
- </tr>
- <tr>
- <td align="right" bgcolor="#C0C0C0"><font size="2"
- face="Arial"><strong>Comment:</strong></font></td>
- <td> </td>
- <td> </td>
- <td> </td>
- <td colspan="2"><font size="2" face="Courier New">#
- appended to the previous comment</font></td>
- </tr>
- <tr>
- <td align="right" bgcolor="#008080"><font color="#00FFFF"
- face="Arial"><strong>Reserved</strong></font></td>
- <td bgcolor="#008080"><font color="#00FFFF" face="Arial"><strong>Ports</strong></font></td>
- <td align="right" bgcolor="#008080"> </td>
- <td bgcolor="#008080"> </td>
- <td bgcolor="#008080"> </td>
- <td bgcolor="#008080"> </td>
- </tr>
- <tr>
- <td align="right" bgcolor="#C0C0C0"> </td>
- <td bgcolor="#C0C0C0"><font size="2" face="Courier New"><strong>keyword</strong></font></td>
- <td bgcolor="#C0C0C0"><font size="2" face="Courier New"><strong>port/protocol</strong></font></td>
- <td bgcolor="#C0C0C0"><font size="2" face="Courier New"><strong><aliases></strong></font></td>
- <td bgcolor="#C0C0C0"><font size="2" face="Courier New"><strong><#comment></strong></font></td>
- <td bgcolor="#C0C0C0"><font size="2" face="Courier New"><strong><[References]>
- </strong></font></td>
- </tr>
- <tr>
- <td align="right" bgcolor="#C0C0C0"><font size="2"
- face="Arial"><strong>Reserved:</strong></font></td>
- <td> </td>
- <td><font size="2" face="Courier New">0/tcp</font></td>
- <td> </td>
- <td><font size="2" face="Courier New"># Reserved </font></td>
- <td> </td>
- </tr>
- <tr>
- <td align="right" bgcolor="#C0C0C0"><font size="2"
- face="Arial"><strong>Reserved:</strong></font></td>
- <td> </td>
- <td><font size="2" face="Courier New">240-245/udp</font></td>
- <td> </td>
- <td><font size="2" face="Courier New"># Reserved</font></td>
- <td> </td>
- </tr>
- <tr>
- <td align="right" bgcolor="#C0C0C0"><font size="2"
- face="Arial"><strong>TCP and UDP:</strong></font></td>
- <td> </td>
- <td><font size="2" face="Courier New">240-245</font></td>
- <td> </td>
- <td><font size="2" face="Courier New"># Reserved</font></td>
- <td> </td>
- </tr>
- <tr>
- <td align="right" bgcolor="#008080"><font color="#00FFFF"
- face="Arial"><strong>Unassigned</strong></font></td>
- <td bgcolor="#008080"><font color="#00FFFF" face="Arial"><strong>Ports</strong></font></td>
- <td align="right" bgcolor="#008080"> </td>
- <td bgcolor="#008080"> </td>
- <td bgcolor="#008080"><font color="#00FFFF" face="Arial"><strong>(ignored)</strong></font></td>
- <td bgcolor="#008080"> </td>
- </tr>
- <tr>
- <td align="right" bgcolor="#C0C0C0"> </td>
- <td bgcolor="#C0C0C0"><font size="2" face="Courier New"><strong>keyword</strong></font></td>
- <td bgcolor="#C0C0C0"><font size="2" face="Courier New"><strong>port/protocol</strong></font></td>
- <td bgcolor="#C0C0C0"><font size="2" face="Courier New"><strong><aliases></strong></font></td>
- <td bgcolor="#C0C0C0"><font size="2" face="Courier New"><strong><#comment></strong></font></td>
- <td bgcolor="#C0C0C0"><font size="2" face="Courier New"><strong><[References]>
- </strong></font></td>
- </tr>
- <tr>
- <td align="right" bgcolor="#C0C0C0"><font size="2"
- face="Arial"><strong>Unassigned:</strong></font></td>
- <td> </td>
- <td><font size="2" face="Courier New">8/udp</font></td>
- <td> </td>
- <td><font size="2" face="Courier New"># Unassigned</font></td>
- <td> </td>
- </tr>
- <tr>
- <td align="right" bgcolor="#C0C0C0"><font size="2"
- face="Arial"><strong>Unassigned:</strong></font></td>
- <td> </td>
- <td><font size="2" face="Courier New">3000-3011/tcp</font></td>
- <td> </td>
- <td><font size="2" face="Courier New"># Unassigned</font></td>
- <td> </td>
- </tr>
- <tr>
- <td align="right" bgcolor="#C0C0C0"><font size="2"
- face="Arial"><strong>TCP and UDP:</strong></font></td>
- <td> </td>
- <td><font size="2" face="Courier New">3000-3011</font></td>
- <td> </td>
- <td><font size="2" face="Courier New"># Unassigned</font></td>
- <td> </td>
- </tr>
- <tr>
- <td align="right" bgcolor="#008080"><font color="#00FFFF"
- face="Arial"><strong>Deleting</strong></font></td>
- <td bgcolor="#008080"><font color="#00FFFF" face="Arial"><strong>Ports</strong></font></td>
- <td align="right" bgcolor="#008080"> </td>
- <td bgcolor="#008080"> </td>
- <td bgcolor="#008080"><font color="#00FFFF" face="Arial"><strong>(references
- removed)</strong></font></td>
- <td bgcolor="#008080"> </td>
- </tr>
- <tr>
- <td align="right" bgcolor="#C0C0C0"> </td>
- <td bgcolor="#C0C0C0"><font size="2" face="Courier New"><strong>keyword</strong></font></td>
- <td bgcolor="#C0C0C0"><font size="2" face="Courier New"><strong>port/protocol</strong></font></td>
- <td bgcolor="#C0C0C0"><font size="2" face="Courier New"><strong><aliases></strong></font></td>
- <td bgcolor="#C0C0C0"><font size="2" face="Courier New"><strong><#comment></strong></font></td>
- <td bgcolor="#C0C0C0"><font size="2" face="Courier New"><strong><[References]>
- </strong></font></td>
- </tr>
- <tr>
- <td align="right" bgcolor="#C0C0C0"><font size="2"
- face="Arial"><strong>Delete Refs:</strong></font></td>
- <td> </td>
- <td><font size="2" face="Courier New">3000/tcp</font></td>
- <td> </td>
- <td><font size="2" face="Courier New"># Delete </font></td>
- <td> </td>
- </tr>
- <tr>
- <td align="right" bgcolor="#C0C0C0"><font size="2"
- face="Arial"><strong>Delete Refs:</strong></font></td>
- <td> </td>
- <td><font size="2" face="Courier New">3000-3024/udp</font></td>
- <td> </td>
- <td><font size="2" face="Courier New"># Delete</font></td>
- <td> </td>
- </tr>
- <tr>
- <td align="right" bgcolor="#C0C0C0"><font size="2"
- face="Arial"><strong>TCP and UDP:</strong></font></td>
- <td> </td>
- <td><font size="2" face="Courier New">3000-3024</font></td>
- <td> </td>
- <td><font size="2" face="Courier New"># Delete</font></td>
- <td> </td>
- </tr>
- </table>
- </div>
-
- <hr>
-
- <ul>
- <li><font size="2" face="Arial">All records that include a
- keyword need to be left justified (no leading spaces).</font></li>
- <li><font size="2" face="Arial">All records that do not
- include a keyword require at least one leading space</font></li>
- <li><font size="2" face="Arial">Each element must have at
- least one space before the next element unless preceeded
- by a delimiter </font></li>
- <li><font size="2" face="Arial">Maximum of 4 aliases per
- record (import restriction only) </font></li>
- <li><font size="2" face="Arial">A "-" must separate
- "from" and "to" port numbers in a
- range (no spaces)</font></li>
- <li><font size="2" face="Arial">A "/" must separate
- port and protocol (no spaces)</font></li>
- <li><font size="2" face="Arial">A "#" character
- must preceed the comments</font></li>
- <li><font size="2" face="Arial">References must be enclosed
- in '[' and ']'</font></li>
- <li><font size="2" face="Arial">Comments that include braces
- ('[' and ']') will cause some comment data copied into
- the references field. under these conditions, you should
- change these to parentheses.</font></li>
- <li><font size="2" face="Arial">Column alignment is
- irrelevant providing the proper spaces and delimiters are
- in the correct sequence.</font></li>
- </ul>
-
- <p><font size="2" face="Arial"><strong>Note:</strong> The import
- function requires that you select at least one category to import
- to. If the record already exists for that port/protocol, the
- reference is updated.</font></p>
-
- <p><font size="2" face="Arial">You can also use the import
- function to bulk-delete references to a series of port/protocol
- assignments. Such an action will result in a subsequent sweep to
- delete all port/protocol assignments that no longer have any
- associated category.</font></p>
-
- <hr>
-
- <p><a name="Initial"><font face="Arial"><strong>Initialization
- Listings:</strong></font></a><font face="Arial"> </font><font
- size="2" face="Arial">When the program is started for the very
- first time, some pre-fabricated data is imported from the 'INIT'
- subdirectory found within the programs folder. This
- pre-fabricated data includes RFC-1060, RFC-1700 and Unix
- Standards data. The program then locates your Windows SERVICES
- file and imports that also.</font></p>
-
- <p><font size="2" face="Arial">The files in the INIT folder have
- the letter 'a' at the end of the files name to denote a version
- or release. Any updated or corrective listing files (either
- provided by John Stanley Enterprises or obtained through other
- sources) can be placed in the folder and named similarly with a
- different letter behind them. Each time the program runs it looks
- for new files in this folder to update the RFC-1060, RFC-1700 or
- UNIX-STD listings, and to add any new RFC numbered listings that
- may arise in the future.</font></p>
-
- <p><font size="2" face="Arial">If a new RFC concerning assigned
- numbers is released:</font></p>
-
- <ol>
- <li><font size="2" face="Arial">Format the section involving
- the port assignments in a manner that fits the import
- specifications.</font></li>
- <li><font size="2" face="Arial">Name the file
- "RFC-XXXXa" (with no extension) where 'XXXX' is
- the RFC number.</font></li>
- <li><font size="2" face="Arial">Place the file in the INIT
- folder and start the program.</font></li>
- </ol>
-
- <p><font size="2" face="Arial">A new category (RXXXX where 'XXXX'
- is the RFC number) will be created, and the data will be imported
- with the appropriate references to the new category.</font></p>
-
- <hr>
-
- <p><a name="Export"><font face="Arial"><strong>Export
- Specifications:</strong></font></a><font face="Arial"> </font><font
- size="2" face="Arial">The export data is always written to
- <application path>\etc\<filename></font></p>
-
- <p><font size="2" face="Arial">The export format should be pretty
- much the same as your /etc/services file. The overall format
- would resemble the format described in the table above except
- that the unassigned and deleted records will not be included.</font></p>
-
- <p><font size="2" face="Arial">The export options include:</font></p>
-
- <ul>
- <li><font size="2" face="Arial">Include Aliases in the
- Aliases column. (like the standard Windows SERVICES file)</font></li>
- <li><font size="2" face="Arial">Include Aliases as distinct
- line items. (no aliases column)</font></li>
- <li><font size="2" face="Arial">Do NOT include any Alias
- listings.</font></li>
- <li><font size="2" face="Arial">Include (or exclude) reserved
- port listings.</font></li>
- <li><font size="2" face="Arial">Decide which data categories
- to include in the exported list.</font></li>
- <li><font size="2" face="Arial">Optionally, you can exclude
- any references marked as Obsolete from the exported list
- regardless of other associated references.</font></li>
- </ul>
-
- <hr>
-
- <p><a name="Oops"><font face="Arial"><strong>In the event of
- accidents:</strong></font></a><font face="Arial"> </font><font
- size="2" face="Arial">If at any time the database is hosed beyond
- reasonable repair - exit the program and delete the 'dat' folder
- (and all of it's contents) that can be found inside the original
- program folder. When you go back to the program, the original
- database and all of the updated information placed there is
- restored from the data found in the INIT folder. (refer to </font><a
- href="#Initial"><font size="2" face="Arial">Initialization
- Listings</font></a><font size="2" face="Arial"> for more
- information) </font></p>
-
- <hr>
- <div align="center"><center>
-
- <table border="0" cellpadding="8" cellspacing="0" width="100%">
- <tr>
- <td align="center" width="33%"><div align="center"><center><table
- border="0" cellpadding="8" cellspacing="0"
- bgcolor="#C0C0C0">
- <tr>
- <td align="right" valign="top"><font
- color="#000000" size="1" face="Arial"><strong>Contact:</strong></font></td>
- <td valign="top"><font color="#000000" size="1"
- face="Arial"><strong>John Stanley Enterprises</strong><br>
- PO Box 1672<br>
- Valrico, FL 33595-1672</font></td>
- </tr>
- <tr>
- <td align="right" valign="top"><font size="1"
- face="Arial"><strong>URL:</strong></font></td>
- <td><a href="http://www.a-znet.com/jse/"><font
- size="1" face="Arial"><strong>http://www.a-znet.com/jse/</strong></font></a></td>
- </tr>
- <tr>
- <td align="right" valign="top"><font
- color="#000000" size="1" face="Arial"><strong>Email:</strong></font></td>
- <td valign="top"><a href="mailto:urthman@usa.net"><font
- color="#000000" size="1" face="Arial"><strong>urthman@usa.net</strong></font></a><font
- color="#000000" size="1" face="Arial"><strong> </strong></font></td>
- </tr>
- </table>
- </center></div></td>
- <td align="center" width="33%"> </td>
- <td align="center" width="33%"><font size="1"
- face="Arial">Microsoft, Windows, NT and Visual Basic are
- registered trademarks of the Microsoft Corporation.</font></td>
- </tr>
- </table>
- </center></div>
- </body>
- </html>
-